#ifndef NSSHARE_UTILS_EVENT_HANDLER_H_
#define NSSHARE_UTILS_EVENT_HANDLER_H_

#include "../base/base_object.h"

namespace nsshare
{
namespace utils
{

class EventHandlerBase
{
public:
    virtual ~EventHandlerBase() {}
};

template<typename A>
class EventHandler : public EventHandlerBase
{
public:
    virtual void OnEvent(base::BaseObject * sender, A arg) = 0;
};

}
}

#endif